package cn.xueshishasha.managers;

import junit.framework.TestCase;

public class StatisticTest extends TestCase {
	public void testGetViewedCount(){
		StatisticManager sm = new StatisticManager();
		sm.addViewedCount();
		System.out.print(sm.getViewedCount());
	}
	public void testUserLogin(){
		StatisticManager sm = new StatisticManager();
		sm.userLogin();
		System.out.println(sm.getUserOnLine());
	}
	public void testUserLogout(){
		StatisticManager sm = new StatisticManager();
		sm.userLogout();
		System.out.println(sm.getUserOnLine());
	}

}
